﻿using System;
using System.Collections.Generic;

namespace MagicWorld.DDD.Domain.Event
{
    /// <summary>
    /// 事件分发器
    /// </summary>
    internal class EventDispatcher
    {
        private Executor executor;

        public EventDispatcher(Executor executor)
        {
            this.executor = executor;
        }

        /// <summary>
        /// 派遣
        /// </summary>
        /// <param name="e"></param>
        /// <param name="invokers"></param>
        internal void Dispatch(IEvent e, HashSet<Invoker> invokers)
        {
            throw new NotImplementedException();
        }
    }
}